<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:69:"/www/htdocs/myb/public/../application/awww/view/publics/register.html";i:1480312705;s:59:"/www/htdocs/myb/public/../application/awww/view/layout.html";i:1480312694;s:64:"/www/htdocs/myb/public/../application/awww/view/layout/head.html";i:1480312701;s:64:"/www/htdocs/myb/public/../application/awww/view/layout/foot.html";i:1480312701;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>蚂蚁帮</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="keywords" content="蚂蚁帮 网络赚钱 淘宝客赚钱 微信赚钱 微信公众平台">
  <meta name="description" content="蚂蚁帮社区，致力于网络赚钱 淘宝客赚钱 微信赚钱 微信公众平台 开发使用交流">
  <link rel="stylesheet" href="/static/awww/layui/css/layui.css">
  <link rel="stylesheet" href="/static/awww/css/global.css">
<!-- jquery -->
<script type="text/javascript" src="/vendor/jquery/1.9.1/jquery.min.js"></script> 

<!-- loading插件 start -->
<script type="text/javascript" src="/vendor/jquery.ShowLoading/1.0/jquery.ShowLoading.js"></script>
<link href="/vendor/jquery.ShowLoading/1.0/jquery.ShowLoading.css" rel="stylesheet">
<!-- loading插件 end -->
</head>
<body>

<div class="header">
  <div class="main">
    <a class="logo" href="/" title="Fly">蚂蚁帮社区</a>
    <div class="nav">
      <a href="http://user.mayibang.co">
        <i class="iconfont icon-wenda"></i>问答
      </a>
      <a href="<?php echo url('tbk/index'); ?>">        
      	<i class="iconfont icon-iconmingxinganli"></i>淘客      
      </a>
      <a href="http://mayibang.co" target="_blank">
        <i class="iconfont icon-ui"></i>文章
      </a>
    </div>
    
    <div class="nav-user">
    	<?php if($userinfo): ?>
	    	<a class="avatar" href="<?php echo url('user/center'); ?>">
	        <img src="<?php if($userinfo['avatar']): ?><?php echo attach($userinfo['avatar']); else: ?>/static/user/images/avatar/default.png<?php endif; ?>">
	        <cite><?php echo $userinfo['name']; ?></cite>
		    </a>
		      <div class="nav">
		      	<a href="<?php echo url('user/set'); ?>"><i class="iconfont icon-shezhi"></i>设置</a>
		        <a href="<?php echo url('publics/logout'); ?>"><i class="iconfont icon-tuichu"></i>退出</a>
		      </div>
      	
      	<?php else: ?>
	      <a class="unlogin" href="<?php echo url('publics/logout'); ?>"><i class="iconfont icon-touxiang"></i></a>
	      <span><a href="<?php echo url('publics/logout'); ?>">登入</a><a href="<?php echo url('publics/register'); ?>">注册</a></span>
	      <p class="out-login">
	        <a href="" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入"></a>
	        <a href="" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入"></a>
	      </p>   
      		
      	<?php endif; ?>
    </div>
  </div>
</div>
	<div class="main layui-clear">
  <h2 class="page-title">登入</h2> 
  <div class="layui-form layui-form-pane">
    <form method="post">
      <div class="layui-form-item">
        <label for="L_email" class="layui-form-label">邮箱</label>
        <div class="layui-input-inline">
          <input type="text" id="L_email" name="email" required lay-verify="required" autocomplete="off" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label for="L_email" class="layui-form-label">昵称</label>
        <div class="layui-input-inline">
          <input type="text" name="username" required lay-verify="required" autocomplete="off" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label for="L_pass" class="layui-form-label">密码</label>
        <div class="layui-input-inline">
          <input type="password" id="L_pass" name="password" required lay-verify="required" autocomplete="off" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label for="L_pass" class="layui-form-label">确认密码</label>
        <div class="layui-input-inline">
          <input type="password" name="s_password" required lay-verify="required" autocomplete="off" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label for="L_vercode" class="layui-form-label">验证码</label>
        <div class="layui-input-inline">
          <input type="text" id="L_vercode" name="code" required lay-verify="required" placeholder="请输入验证码" autocomplete="off" class="layui-input">
        </div>
        <div class="layui-form-mid">
          <span style="color: #c00;">
          <img id="img" src="<?php echo url('publics/verify'); ?>"  onclick="this.src='<?php echo url('publics/verify'); ?>?t='+Math.random()">
          </span>
        </div>
      </div>
      <div class="layui-form-item">
        <button class="layui-btn" lay-filter="form" lay-submit>立即注册</button>
      </div>
      <!-- 
      <div class="layui-form-item fly-form-app">
        <span>或者使用社交账号登入</span>
        <a href="" onclick="layer.msg('正在通过QQ登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-qq" title="QQ登入"></a>
        <a href="" onclick="layer.msg('正在通过微博登入', {icon:16, shade: 0.1, time:0})" class="iconfont icon-weibo" title="微博登入"></a>
      </div>
       -->
    </form>
  </div>
</div>
<script>
function img(){
	$("#img").click();
}
</script>
<div class="footer">
  <p><?php echo $sys['right']; ?></p>
</div>
<script type="text/javascript" src="/vendor/layui/layui.js"></script>
<script type="text/javascript" src="/vendor/layui/lay/dest/layui.all.js"></script>   
<script type="text/javascript" src="/vendor/cfunction.js"></script>
<script>
layui.cache.page = 'user';
layui.cache.user = {
  username: '游客'
  ,uid: -1
  ,avatar: '/static/user/images/avatar/00.jpg'
  ,experience: 83
  ,sex: '男'
};
layui.config({
  version: "1.0.0"
  ,base: '/static/user/mods/'
}).extend({
  fly: 'index'
}).use('fly');
</script>

</body>
</html>